gtk-demo: Use GdkAxisUse instead of axis labels
authorStephen Chandler Paul <thatslyude@gmail.com>
Tue, 10 Feb 2015 00:44:50 +0000 (19:44 -0500)
committerCarlos Garnacho <carlosg@gnome.org>
Wed, 6 Apr 2016 13:43:29 +0000 (15:43 +0200)
commit6c2a078bf2110d41c8f4d96d74c5dbf6d17eaf92
tree5c217cccd16095e341cf82f0137a789ad1005f0c
parent9e72d24b23fe0808e75c678f1339152a1d32d55a
gtk-demo: Use GdkAxisUse instead of axis labels

Axis labels are very X specific, and are not really possible to port to other
backends such as Wayland. As such, it makes more sense to use GdkAxisUse and
GdkAxisUseFlag in order to determine the axis capabilities of a device and draw
their axes.

Signed-off-by: Stephen Chandler Paul <thatslyude@gmail.com>
demos/gtk-demo/event_axes.c